﻿package Message.Public
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EStepType extends Object
    {
        public var __value:int;
        public static const _EStepTypeNormal:int = 0;
        public static const _EStepTypeDramaAdd:int = 1;
        public static const _EStepTypeDramaCancel:int = 2;
        public static const _EStepTypeDramaPrint:int = 3;
        public static const _EStepTypeAnimation:int = 4;
        public static const _EStepTypeAnimationEnd:int = 5;
        public static const _EStepTypeAnimationPrint:int = 6;
        public static const _EStepTypeBossDialog:int = 7;
        public static const _EStepTypePetActive:int = 8;
        public static const _EStepTypePetIdle:int = 9;
        public static const _EStepTypeEffect:int = 10;
        public static const _EStepTypeEffectActive:int = 11;
        public static const _EStepTypeEffectDel:int = 12;
        public static const _EStepTypeTaskDramaPrint:int = 13;
        public static const _EStepTypePlayerMoveOnly:int = 14;
        public static const _EStepTypePlayerMoveOnlyDel:int = 15;
        public static const _EStepTypePlayerMoveScreen:int = 16;
        public static const _EStepTypeScreenLock:int = 17;
        public static const _EStepTypeScreenUnlock:int = 18;
        public static const _EStepTypeScreenMove:int = 19;
        public static const _EStepTypeScreenRestore:int = 20;
        public static const _EStepTypePlayerFly:int = 21;
        public static const _EStepTypeMenuShow:int = 22;
        public static const _EStepTypeMenuHide:int = 23;
        public static const _EStepTypeMoviePlay:int = 24;
        public static const _EStepTypeMovieEnd:int = 25;
        public static const _EStepTypeBossActive:int = 26;
        public static const _EStepTypeNpcActive:int = 27;
        public static const _EStepTypeNpcDialog:int = 28;
        public static const _EStepTypeMonsterScreenCenter:int = 29;
        public static const _EStepTypeUnLockMonsterScreenCenter:int = 30;
        public static const _EStepTypeShakingScreen:int = 31;
        public static const _EStepTypeUnLockShakingScreen:int = 32;
        public static const _EStepTypePreFallenToCopy:int = 33;
        public static const _EStepTypeFallenToCopy:int = 34;
        public static const _EStepTypeRoleBlowFly:int = 35;
        public static const _EStepTypeBuffAdd:int = 50;
        public static const _EStepTypeBuffDel:int = 51;
        public static const _EStepTypeBossRefresh:int = 52;
        public static const _EStepTypeBossDel:int = 53;
        public static const _EStepTypeBossMove:int = 54;
        public static const _EStepTypeSkill:int = 55;
        public static const _EStepTypeBossFollow:int = 56;
        public static const _EStepTypeBossFollowDel:int = 57;
        public static const _EStepTypeChangeDirect:int = 58;
        public static const _EStepTypeActiveStop:int = 59;
        public static const _EStepTypeActiveStart:int = 60;
        public static const _EStepTypeFinish:int = 100;

        public function EStepType(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EStepType
        {
            return new EStepType(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EStepType
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 101)
            {
                throw new MarshalException();
            }
            return EStepType.convert(_loc_2);
        }// end function

    }
}
